{% extends "base.html" %}
{% load i18n %}

{% block body %}
<form method="POST">
  <table width="500" cellspacing="0" cellpadding="0" class="centre">
    <tr>
      <td width="200" align="right">
        {% trans "User Group" %}:
      </td>
      <td>
        {{ form.user_group }}
        <font color="red">
          {{ form.user_group.errors }}
        </font>
      </td>
    </tr>
    <tr>
      <td width="200" align="right">
        {% trans "Name" %}:
      </td>
      <td>
        {{ form.name }}
        <font color="red">
          {{ form.name.errors }}
        </font>
      </td>
    </tr>
    <tr>
      <td width="200" align="right">
        {% trans "Description" %}:
      </td>
      <td>
        {{ form.description }}
        <font color="red">
          {{ form.description.errors }}
        </font>
      </td>
    </tr>
    <tr>
      <td width="200" align="right">
        {% trans "Group Can Read" %}:
      </td>
      <td>
        {{ form.group_can_read }}
        <font color="red">
          {{ form.group_can_read.errors }}
        </font>
      </td>
    </tr>
    <tr>
      <td width="200" align="right">
        {% trans "Group Can Write" %}:
      </td>
      <td>
        {{ form.group_can_write }}
        <font color="red">
          {{ form.group_can_write.errors }}
        </font>
      </td>
    </tr>
    <tr>
      <td width="200" align="right">
        {% trans "Other Can Read" %}:
      </td>
      <td>
        {{ form.other_can_read }}
        <font color="red">
          {{ form.other_can_read.errors }}
        </font>
      </td>
    </tr>
    <tr>
      <td width="200" align="right">
        {% trans "Other Can Write" %}:
      </td>
      <td>
        {{ form.other_can_write }}
        <font color="red">
          {{ form.other_can_write.errors }}
        </font>
      </td>
    </tr>
    <tr>
      <td width="200" align="right">
        {% trans "Public" %}:
      </td>
      <td>
        {{ form.is_public }}
        <font color="red">
          {{ form.is_public.errors }}
        </font>
      </td>
    </tr>
    <tr>
      <td width="200" align="right">
        {% trans "Sort Order" %}:
      </td>
      <td>
        {{ form.sort_order }}
        <font color="red">
          {{ form.sort_order.errors }}
        </font>
      </td>
    </tr>
    <tr>
      <td width="200" align="right"></td>
      <td><input type="submit" value="{% trans 'Submit' %}"></td>
    </tr>
  </table>
</form>
{% endblock %}